import { IsString, MinLength, MaxLength } from 'class-validator';

export class CreateUserExtendDto {
  @MinLength(11,{
    message: '手机号码必须为11位'
  })
  @MaxLength(11,{
    message: '手机号码必须为11位'
  })
  @IsString()
  mobile: string;

  @IsString()
  address: string
}
